<?php


class vAuthentification{
    public function afficher(){
        echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
        echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">';
        echo '<head>';
        echo '<title>Titre de la page</title>';
        echo '<meta name="keywords" lang="fr" content="stock,transaction" />';
        echo '<meta name="description" content="Gestion de stock" />';
        echo '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"/>';
        echo '<meta http-equiv="Content-Language" content="fr" />';
        echo '<link href="/style.css" rel="stylesheet" type="text/css" />';
        echo '</head>';
        echo '<body>';
        echo '<div id="conteneur">';
        echo '<h1>Authentification</h1>';
        echo '<form method="post" action="?do=connecter">';
        echo '<div>';
        echo '<table>';
        echo '<tr>';
        echo '<td>Login</td><td><input type="text" name="login" /></td>';
        echo '</tr>';
        echo '<tr>';
        echo '<td>Password</td><td><input type="text" name="mdp" /></td>';
        echo '</tr>';
        echo '<tr>';
        echo '<td colspan="2"><input type="submit" value="Valider" /></td>';
        echo '</tr>';
        echo '</table>';
        echo '</div>';
        echo '</form>';
        echo '</div>';
        echo '</body>';
        echo '</html>';
    }
}
?>
